package com.cn.dao;

import com.cn.domain.Video;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @author 伍崇武
 * @date 2021-08-24 0024 - 下午 2:09
 */
@Mapper
public interface VideoMapper {

    @Select("select * from video where id=#{videoId}")
    Video findById(@Param("videoId") Integer videoId);

}
